<div>
    <input type="text" [(ngModel)]="str">
    <div>{{str}}</div>
</div>
